package com.xf.lastmall.moudle.dto;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * Created by wangzhaoqian5 on 2018/8/8.
 */
public class GoodsListRepoDto {

    private String orderNo;

    private String mallCode;
    /** 允许支付的剩余时间（单位秒）*/

    private String orderType;
    /**总金额（当订单为买单时为消费金额）*/
    private BigDecimal sumTotalAmount;
    /**"canRefundGoods": 1:可以退  0不可以退   默认可以退*/
    private int  canRefundGoods=1;
    /**1:待支付;2:已支付;3:订单取消 交易关闭;4:订单超时 交易关闭;5：交易成功 ；6：全部退款 交易关闭*/
    private String orderStatus;

    private String businessStatus;
    /**商品总件数*/
    private int num;
    /**
     * 购买途径(1:单品,2:组合) 以后可能有购物车
     */
    private int saleWay;

    private Date createTime;
    //币种 0:RMB 1:积分
    private int currency;

    private String merchantCode;

    private String merchantName;
    private String merchantPhone;
    private Integer deliveryWay;
    public Integer getDeliveryWay() {
        return deliveryWay;
    }

    public void setDeliveryWay(Integer deliveryWay) {
        this.deliveryWay = deliveryWay;
    }

    public String getMerchantName() {
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    public String getMerchantPhone() {
        return merchantPhone;
    }

    public void setMerchantPhone(String merchantPhone) {
        this.merchantPhone = merchantPhone;
    }

    public int getCurrency() {
        return currency;
    }

    public void setCurrency(int currency) {
        this.currency = currency;
    }

    public int getSaleWay() {
        return saleWay;
    }

    public void setSaleWay(int saleWay) {
        this.saleWay = saleWay;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    private List<GoodsOrderDetailRepoDto> goods;

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getBusinessStatus() {
        return businessStatus;
    }

    public void setBusinessStatus(String businessStatus) {
        this.businessStatus = businessStatus;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public BigDecimal getSumTotalAmount() {
        return sumTotalAmount;
    }

    public void setSumTotalAmount(BigDecimal sumTotalAmount) {
        this.sumTotalAmount = sumTotalAmount;
    }

    public int getCanRefundGoods() {
        return canRefundGoods;
    }

    public void setCanRefundGoods(int canRefundGoods) {
        this.canRefundGoods = canRefundGoods;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public List<GoodsOrderDetailRepoDto> getGoods() {
        return goods;
    }

    public void setGoods(List<GoodsOrderDetailRepoDto> goods) {
        this.goods = goods;
    }

    public String getMerchantCode() {
        return merchantCode;
    }

    public void setMerchantCode(String merchantCode) {
        this.merchantCode = merchantCode;
    }

    public String getMallCode() {
        return mallCode;
    }

    public void setMallCode(String mallCode) {
        this.mallCode = mallCode;
    }
}
